Avoid drawing implicit paints to destroyed windows
authorAlexander Larsson <alexl@redhat.com>
Fri, 15 Jan 2010 15:06:12 +0000 (16:06 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:55:19 +0000 (20:55 -0400)
commit51b774f59aaa34cd4ed6601523ed70b8cef560e9
tree36dd5f1e410687332e60d1ff173a777a39a459d8
parent07d3c79945b9b526e8aba98c1abc236c0b5d41e8
Avoid drawing implicit paints to destroyed windows

It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.

This fixes bug 600865
gdk/gdkwindow.c